﻿using SingleUserMall.Common;
using SingleUserMall.Stores;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SingleUserMall.Items.Item;

namespace SingleUserMall.Orders.Form
{
    public class OrderPagedForm:PagedForm
    {
        /// <summary>
        ///  状态（1：待付款，2：待成团，3：待发货，4：待收货，5：待提货，6：待评价， 7：团购已失效）
        /// </summary>
        public OrderWaitStatus? Status { get; set; }

        /// <summary>
        /// 分红商品状态 0：未开始分红，1：分红中 ，2：分红完成
        /// </summary>
        public DividendStatus? DividendItemStatus { get; set; }

        /// <summary>
        /// 展示类型
        /// </summary>
        public OrderFriendType? FriendType { get; set; }
    }

    public enum OrderFriendType : int
    {
        /// <summary>
        /// 自己
        /// </summary>
        Own = 0,
        /// <summary>
        /// 送朋友
        /// </summary>
        OwnToFriend = 1,
        /// <summary>
        /// 朋友送的
        /// </summary>
        FriendToMySelf = 2
    }
}
